function getQuestionByReading(size,index){
	var url = "/HyperIT/question/getQuestionByRead";
	var parm = "size="+size+"&indexPageNum="+index;
	$.get(url,parm,function(data){
		if (data.serviceResult) {
			var list = data.resultParm.question_user;
			 showQuestion(list);
		} else{
			messageTip(data.resultInfo);
		}
	});
}
function showQuestion(list){
	for(var i = 0; i<list.length; i++){
		var tags = "";
		for(var j = 0; j<list[i].tag.length; j++){
			tags = tags + '<a href="'+getRealPath()+'/views/tag/thetag.html?'+list[i].tag[j].id+'"><span>'+list[i].tag[j].name+'</span></a>';
		}
		var isAccept = "";
		if(list[i].accept){
			isAccept = "已采纳";
		}else{
			isAccept = "未采纳";
		}
		$(".aq-items").append('<div class="aq-item">'+
								'<div class="item-left">'+
									'<a href="'+getRealPath()+'/views/blog/theblog.html?'+list[i].userdetail_id+'">'+
									'<img src="'+getRealPath()+list[i].path+'"/></a>'+
									'<span>'+list[i].username+'</span>'+
								'</div>'+
								'<div class="item-right">'+
									'<div class="aq-title">'+
										'<h1><a href="'+getRealPath()+'/views/aq/theaq.html?'+list[i].id+'">'+
										list[i].title+'</a></h1>'+
										'<span>发布时间：'+list[i].createtime.substr(0,16)+'</span>'+
									'</div>'+
									'<div class="aq-others">'+
										'<div class="tags">'+
											tags+
										'</div>'+
										'<div class="time-count">'+
											'<span>阅读量：</span><i>'+list[i].reading+'</i>'+
											'<span>回答：</span><i>'+list[i].answer+'</i>'+
											'<span>'+isAccept+'</span>'+
										'</div>'+
									'</div>'+
								'</div>'+
							'</div>');
	}
}